package com.learning.crpc.model;

import lombok.Data;

import java.util.UUID;

/**
 * @program: diy_rpc
 * @description:
 * @author: CaoYong
 * @create: 2021-07-01 10:28
 **/
@Data
public class CrpcRequest {

    private String id;
    private String className;
    private String methodName;
    private Class[] parameterTypes;
    private Object[] arguments;

    public CrpcRequest() {
        this.id = UUID.randomUUID().toString();
    }
}
